package cn.edu.hunau.oop.day02.extend;

/**
 * @author hb
 * @date 2025-08-05 14:36:42
 */
public class Scope {
    public String publicField="publicField";
    protected String protectedField="protectedField";
    String defaultField="defaultField";
    private String privateField="privateField";

    public void call(){
        System.out.println(publicField);
        System.out.println(protectedField);
        System.out.println(defaultField);
        System.out.println(privateField);
    }
}
